myapp.controller('upload', [ '$scope', '$http',
		function($scope, $http) {
		 
			$scope.search = function() {
				$http({
					method : 'POST',
					url : ctx + '/moneyflow/list.htm',
					data : {
						true_name:$scope.true_name,
						mobile:$scope.mobile,
						user_id:$scope.user_id,
						id_card:$scope.id_card,
						start_time:$scope.start_time,
						end_time:$scope.end_time,
						pageNo:$scope.page.pageNo,
						pageSize:$scope.page.pageSize
					} }).success(function(data) {
					if (data.rescode == 200) {
						$scope.page = data.data;
					} else {
						$scope.msg = data.msg;
					}
				});
			};
		} ]);